<!DOCTYPE HTML>
<html>
<head>
<{include file='mobile/default/lib/meta.html'}>
<title>个人信息 - <{$GLOBALS.cfg.site_name}></title>
<link rel="stylesheet" type="text/css" href="<{$common.theme}>/css/general.css" />
<link rel="stylesheet" type="text/css" href="<{$common.theme}>/iconfont/iconfont.css">
<link rel="stylesheet" type="text/css" href="<{$common.theme}>/css/info.css" />
<script type="text/javascript" src="<{$common.theme}>/js/zepto.min.js"></script>
<script type="text/javascript" src="<{$common.theme}>/js/verydows.mobile.js"></script>
</head>
<body>
<div class="wrapper">
  <div class="header">
    <div class="op lt"><a href="<{url c='mobile/user' a='index'}>"><i class="f20 iconfont">&#xe602;</i></a></div>
    <h2>个人信息</h2>
  </div>
  <div class="srow cut">
    <a class="avatar" href="<{url c='mobile/user' a='info' field='avatar'}>">
      <h3 class="fl">头像</h3>
      <i class="fr iconfont">&#xe66f;</i>
      <span class="fr"><img src="<{if !empty($user.avatar)}><{$common.baseurl}>/upload/user/avatar/<{$user.avatar}><{else}><{$common.baseurl}>/public/image/noavatar_m.gif<{/if}>" /></span>
    </a>
    <a href="<{url c='mobile/user' a='info' field='email'}>">
      <h3 class="fl">邮箱</h3>
      <i class="fr iconfont">&#xe66f;</i>
      <span class="fr"><{$user.email}></span>
    </a>
    <a href="<{url c='mobile/user' a='info' field='mobile'}>">
      <h3 class="fl">手机</h3>
      <i class="fr iconfont">&#xe66f;</i>
      <span class="fr"><{if $user.mobile != ''}><{$user.mobile}><{else}><font class="noset">未设置</font><{/if}></span>
    </a>
  </div>
  <div class="srow mt10 cut">
    <a href="<{url c='mobile/user' a='info' field='nickname'}>">
      <h3 class="fl">昵称</h3>
      <i class="fr iconfont">&#xe66f;</i>
      <span class="fr"><{if $profile.nickname != ''}><{$profile.nickname}><{else}><font class="noset">未设置</font><{/if}></span>
    </a>
    <a href="<{url c='mobile/user' a='info' field='gender'}>">
      <h3 class="fl">性别</h3>
      <i class="fr iconfont">&#xe66f;</i>
      <span class="fr"><{if $profile.gender == 1}>男<{elseif $profile.gender == 2}>女<{else}>保密<{/if}></span>
    </a>
    <a href="<{url c='mobile/user' a='info' field='qq'}>">
      <h3 class="fl">QQ</h3>
      <i class="fr iconfont">&#xe66f;</i>
      <span class="fr"><{if $profile.qq != ''}><{$profile.qq}><{else}><font class="noset">未设置</font><{/if}></span>
    </a>
    <a href="<{url c='mobile/user' a='info' field='birthdate'}>">
      <h3 class="fl">生日</h3>
      <i class="fr iconfont">&#xe66f;</i>
      <span class="fr"><{if !empty($profile.birth_year)}><{$profile.birth_year}>年<{str_pad($profile.birth_month, 2, 0, STR_PAD_LEFT)}>月<{$profile.birth_day}>日<{else}><font class="noset">未设置</font><{/if}></span>
    </a>
    <a class="signature" href="<{url c='mobile/user' a='info' field='signature'}>">
      <h3 class="fl">个性签名</h3>
      <i class="fr iconfont">&#xe66f;</i>
      <span class="fr"><{if $profile.signature != ''}><{$profile.signature}><{else}><font class="noset">未设置</font><{/if}></span>
    </a>
  </div>
</div>
<{include file='mobile/default/lib/footer.html'}>
</body>
</html>